package com.shangxian.giveithome.service;


import com.shangxian.giveithome.entity.PageableDetails;
import com.shangxian.giveithome.entity.VolunteerExamine;
import com.shangxian.giveithome.entity.VolunteerCreate;
import com.shangxian.giveithome.entity.VolunteerDetails;
import com.shangxian.giveithome.entity.VolunteerExamineDetails;
import org.springframework.data.domain.Pageable;
import org.springframework.stereotype.Service;

import java.util.List;
@Service
public interface VolunteerService {

    List<VolunteerExamine> queryById(Long mr_id);

    PageableDetails queryVolunteerListAndToExamine(List<String> sps, Long aLong, Pageable pageable);

    PageableDetails queryVolunteerListToExamine(Long aLong, Pageable pageable);

    VolunteerDetails queryVolunteerDetails(Long aLong, Long id);

    VolunteerExamineDetails queryVolunteerExamineDetails(Long aLong, Long id);

    void create(VolunteerCreate volunteerCreate);

    void deleteVolu(Long aLong, Long id);

    void successVolunteer(Long id, Long aLong);

    void ErrorVolunteer(Long id, Long aLong);
}
